﻿<?php include("conn.php") ?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/h-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>我的桌面</title>
	<script language="javascript">
        //防止页面后退
        history.pushState(null, null, document.URL);
        window.addEventListener('popstate', function () {
            history.pushState(null, null, document.URL);
        });
	</script>
</head>
<body>
<div class="page-container">
	<p class="f-20 text-success">欢迎使用中网互联<span class="f-14">v1.1</span>后台模版！</p>


	<table class="table table-border table-bordered table-bg mt-20">
		<thead>
			<tr>
				<th colspan="2" scope="col">后台数据统计</th>
			</tr>
            <tr><td>用户总数：<?php //echo Request_fildes("count(*)","d_guest","1=1")?></td></tr>
            <tr><td>员工总数：<?php// echo Request_fildes("count(*)","d_worker","1=1")?></td></tr>
            <tr><td>产品总数：<?php //echo Request_fildes("count(*)","d_product","1=1")?></td></tr>
            <tr><td>订单总数：<?php //echo Request_fildes("count(*)","d_order","1=1")?>&nbsp;&nbsp;未支付总数：<?php //echo Request_fildes("count(*)","d_order","o_paystate=1")?>&nbsp;&nbsp;已支付总数：<?php //echo Request_fildes("count(*)","d_order","o_paystate=0")?></td></tr>
            <tr><td>订单累计入账：
                    <?php //echo Request_fildes_count("sum(o_price) as nums","d_order","o_paystate=1")?>
                    &nbsp;&nbsp;未入账总额：  <?php //echo Request_fildes_count("sum(o_price) as nums","d_order","o_paystate=0")?></td></tr>
		</thead>

	</table>
</div>
<footer class="footer mt-20">
	<div class="container">
		<p>
			Copyright &copy;2015-2019 湖北北盛 v1.1 All Rights Reserved.<br>
			本后台系统由<a href="#" target="_blank" title="H-ui前端框架">湖北北盛</a>提供技术支持</p>
			
	</div>
</footer>
<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script>

</body>
</html>